package com.aceitunaproject.shared.message.concrete;



/**
 * Action Request class for a "Move" order
 * 
 * @author Federico Bergstein
 *
 */

public class MoveRequest extends ActionRequest {
	
	public static final String TYPE = "MoveRequest";

	private static final long serialVersionUID = 5162247717172918329L;

	
	private int destinationX;
	private int destinationY;
		
	public MoveRequest() {
		super(TYPE);
	}

	/**
	 * @param destinationX the x coordinate of the destination tile in the world map
	 */
	public void setDestinationX(int destinationX) {
		this.destinationX = destinationX;
	}

	/**
	 * @return x coordinate of the destination tile in the world map
	 */
	public int getDestinationX() {
		return destinationX;
	}
	
	/**
	 * @param destinationY the y coordinate of the destination tile in the world map
	 */
	public void setDestinationY(int destinationY) {
		this.destinationY = destinationY;
	}

	/**
	 * @return the y coordinate of the destination tile in the world map
	 */
	public int getDestinationY() {
		return destinationY;
	}

}
